package com.itheima.global;

import lombok.Data;

//业务异常
@Data
public class BusinessException extends RuntimeException{
    private int code;
    public BusinessException(String 上传图片不能超过2M){

    }
    public BusinessException(int code,String msg){
        super(msg);
        this.code = code;

    }
}
